package day1;

/**
 * @author oldliu
 * @since 1.0
 */
public class Student {
    String name;
    int age;
    String sex;
    public void show(){
        System.out.println("这个学生叫"+name+",今年"+age+"岁，性别是"+sex);
        juexin();
    }
    public void juexin(){
        System.out.println(name+"和他爹保证:好好学习，天天向上！");
    }
    public void buke(){
        Teacher mrZhang=new Teacher();
        mrZhang.name="张老师";
        mrZhang.goodAt="LOL";
        mrZhang.show();
        System.out.println(mrZhang.name+"在给"+name+"补习！！！");
    }
}
